// 鉴权服务
import request from '@/utils/request'

// 验证码-登录的验证码
export const getCaptcha = (data) => request('/captcha', { params: { key: data }})

// 登录
export const login = (data) => request.post('/login', data)

// 查询用户可用的所有菜单
export const userMenus = () => request('/menus')
